﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.Security;
namespace OnlineManagement.Web.Account
{
    public partial class Default : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack && HttpContext.Current.User.Identity.IsAuthenticated)
            {
                liMgr.Visible = true;
                liSystemUpdate.Visible = true;
            }
            else
            {
                liMgr.Visible = false;
            }
        }

        //private void ControlMenus()
        //{
        //    liMgr.Visible = false;
        //    if (HttpContext.Current.User.Identity.IsAuthenticated)
        //    {
        //        liMgr.Visible = true;
        //        if (Roles.IsUserInRole(""))
        //        {

        //        }
        //    }

        //}
    }
}